import './assets/scss/global.scss'
import 'vant/lib/index.css';
import { createApp } from 'vue'
import { createPinia } from 'pinia'
import 'element-plus/dist/index.css'
//icon图标库
import "@/assets/iconfont/iconfont.css"
import { TreeSelect } from 'vant';

import {
     Tabbar, TabbarItem,Badge,
     Swipe, SwipeItem,Icon,
     CountDown,Dialog,Search,
      Form, Field, CellGroup,
      Button,NavBar,NoticeBar,Cell,Popup,
    } from 'vant';
    import { Switch } from 'vant';
//icom 图标库 wzh
//组件
//vant 
//组件李屿屿
import { Cascader } from 'vant';
import { Uploader } from 'vant';
import ElementPlus from 'element-plus'
import { Grid, GridItem } from 'vant';
import { Tab, Tabs } from 'vant';
import { Sidebar, SidebarItem } from 'vant';
import App from './App.vue'
import router from './router'
const app = createApp(App)

app.use(ElementPlus);
app.use(createPinia());
app.use(router);
//级联
// app.use(ElementPlus)
app.use(createPinia())
app.use(router)
app.use(Swipe);
app.use(Button);
app.use(SwipeItem);
app.use(Form);
app.use(Field);
app.use(CellGroup);
app.use(Tabbar);
app.use(Cell);
app.use(TabbarItem);
app.use(Search);
app.use(Grid);
app.use(GridItem);
app.use(CountDown);
app.use(Dialog);
app.use(Sidebar);
app.use(SidebarItem);

app.use(TreeSelect);
//wzh
//组件李屿屿
app.use(ElementPlus)
app.use(NavBar);
app.use(NoticeBar);
app.use(Badge);
app.use(Icon);
app.use(Tab);
app.use(Tabs);

app.use(Cascader);
app.use(Uploader);
app.use(Switch);
app.use(Popup);




app.mount('#app');